package de.ff7rl.core.gamestate;

import de.ff7rl.core.gamestate.battle.BattleGameStateController;
import de.ff7rl.core.gamestate.dungeon.DungeonGameStateController;
import de.ff7rl.core.gamestate.intro.IntroGameStateController;
import de.ff7rl.core.gamestate.mainmenu.MainMenuGameStateController;

public enum GameState {

  INTRO(new IntroGameStateController()),

  DUNGEON(new DungeonGameStateController()),

  BATTLE(new BattleGameStateController()),

  MAIN_MENU(new MainMenuGameStateController());

  private final GameStateController gameStateController;

  GameState(final GameStateController theGameStateController) {
    gameStateController = theGameStateController;
  }

  public GameStateController getController() {
    return gameStateController;
  }
}
